package com.huatai.bpmn.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huatai.bpmn.entity.BasicEntity;
import com.huatai.bpmn.entity.YYBasicEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  表头
 * </p>
 *
 * @author yxy
 * @since 2023-07-07
 */
@Mapper
public interface BasicMapper extends BaseMapper<BasicEntity> {
	/**
	 * 查询表头
	 * @param str
	 * @return
	 */
	@Select("select * from yy_basic where json_key in ${str} order by sort")
    List<YYBasicEntity> getBasicList(String str);
}
